
<script>
	import config from '@/app.config.js'
	export default {
		methods: {
			
		},
		// 监听 - 页面404
		onPageNotFound:function(e) {
			uni.redirectTo({
				url: config.error.url
			})
		},
		onLaunch: function() {
			if(config.debug) console.log('App Launch')
			let that = this;
			console.log(this)
			
			
		},
		onShow: function() {
			if(config.debug) console.log('App Show')
			
		},
		onHide: function() {
			if(config.debug) console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	// @import "./uni_modules/vk-uview-ui/index.scss";
  @import "./common/css/app.scss";
  @import "uview-ui/index.scss";
  page {
  	min-width: 320px;
  	max-width: 640px;
  	margin: 0 auto;
  	background-color: #fff;
  	font-size: 16px;
  	font-family: -appple-system, Helvetica, sans-serif;
  	line-height: 1.5;
  	/* color: #666; */
  }
</style>
